package com.aia.ilp.web;

import com.aia.ilp.domain.Cust;
import com.aia.ilp.service.MainService;
import com.cfh.util.Tools;
import com.opensymphony.xwork2.ActionSupport;

public class ShowAction extends ActionSupport {

	private String user;
	private MainService mainService;
	private Cust showcust;
	/**
	 * Logger for this class
	 */

	private static final long serialVersionUID = 1L;

	public String execute() throws Exception {
		mainService.selectCustByShow(this);

		return Tools.smartReturn(this);
	}

	public void setMainService(MainService mainService) {
		this.mainService = mainService;
	}

	public MainService getMainService() {
		return mainService;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getUser() {
		return user;
	}

	public void setShowcust(Cust showcust) {
		this.showcust = showcust;
	}

	public Cust getShowcust() {
		return showcust;
	}

}
